﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/image/style.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    @RenderSection("headerhtml", false)
</head>

<body>
    @if (IsSectionDefined("header"))
    {
        @RenderSection("header")
    }
    else
    {
        //默认的头部页面
        @RenderPage("header.cshtml")
    } 
    <div id="container">
        @RenderSection("silder", false)
        @RenderBody()
    </div>
   @if (IsSectionDefined("footer"))
   {
       @RenderSection("footer")
   }
   else
   {
       @RenderPage("footer.cshtml")
   }
</body>
</html>
